package day4zy;

import java.util.Calendar;

public class Guoqing {
    public static void main(String[] args) {
        Calendar cal = Calendar.getInstance();
        cal.set(2022,9,1);
        System.out.println(cal.get(cal.DAY_OF_WEEK));
    }
}
